cmake_minimum_required(VERSION 3.0.0)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
project(HW1 VERSION 0.1.0)
find_package(OpenCV REQUIRED)
include(CTest)
enable_testing()
include_directories( ${OpenCV_INCLUDE_DIRS})
add_executable(HW1 main.cpp)
include_directories( ${OpenCV_INCLUDE_DIRS})
target_link_libraries(HW1 ${OpenCV_LIBS})
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
